package com.hotel.homehotel.before.service;

import com.hotel.homehotel.before.entiy.Order;
import com.hotel.homehotel.before.entiy.vo.RoomVo;
import com.hotel.homehotel.utils.R;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderService {
    public List<Order> getAllOrders();
    public  boolean insertOrder(Order order);
    public  boolean  deleteOrder(String id);
    public  boolean  updateOrder(Order order);
    public   Order  getOrderById(String id);
   public List<RoomVo> selectTime(String id);

    public List<Order> getAllOrdersByUid(String uid);
}
